<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

if($_SERVER['HTTP_HOST'] == 'www.125868.com') {
    Route::get('/', 'index/nav');
}else{
    Route::get('/', 'index/ziliao');
}
Route::rule('/drawp', 'index/drawp','GET|POST');

Route::get('/navs', 'index/nav');
Route::get('/index', 'index/ziliao');
Route::rule('/index/drawprize', 'index/drawprize','POST');
Route::post('/tongji', 'index/tongji');

Route::post('/message', 'index/message');


// Route::rule('/pictrue', 'pictrue/index','GET|POST');
// Route::rule('/main', 'pictrue/main','GET|POST');
